@divider-color: #ddd;

.detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  padding-bottom: 90px;
  min-height: 1px;
  &::before {
    border: none !important;
  }
  .cardHeader {
    background: #fff;
    border-bottom: 8px solid #f0f0f0;
    display: block;
    padding: 15px;
  }
  &.noPadding {
    padding-bottom: 0;
  }
  :global {
    .am-card-header {
      margin-bottom: 0;
      // padding-left: 15px;
      // padding-right: 15px;
      .am-card-header-content {
        display: block;
      }
      .ant-card-head-title {
        padding: 13px 0;
      }
    }
    .ant-card-body {
      flex: 1;
      overflow: auto;
      padding-top: 24px;
    }
    .ant-card-actions > li:not(:last-child) {
      border-right: none;
    }
  }
}

.header {
  display: flex;
  align-items: center;
  .image {
    margin-right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
  }
  .title {
    font-weight: 700;
    margin-right: 8px;
    flex-shrink: 1;
    max-width: calc(100% - 120px);
    word-break: break-all;
    overflow: hidden;
    // white-space: pre-wrap;
  }
}
.processModal {
  :global {
    .ant-modal-body {
      .ant-modal-confirm-title {
        color: #333333;
      }
    }
  }
}

.formDetail {
  background: #fff;
  padding: 0 15px 7px 15px;
  margin-bottom: 8px;
  .detailTitle {
    padding: 15px 0 7px 0;
    display: block;
    font-size: 14px;
    color: #222222;
    font-weight: bold;
  }
  :global {
    .customFormItemLabel,
    .column-wrap.column-in-detail .column-prefix {
      width: 108px;
    }
    .column-wrap.column-in-detail .column-prefix {
      padding-right: 15px;
      margin-right: 7px;
      box-sizing: border-box;
    }
    .customFormItem {
      border-bottom: none;
    }
  }
}

.promptText {
  border: 1px solid rgba(255, 64, 64, 0.25);
  border-radius: 4px;
  font-size: 14px;
  color: #666666;
  background-color: rgba(255, 64, 64, 0.1);
  padding: 5px 10px;
  margin: 0 15px 12px 15px;
  .warnIcon {
    height: 12px;
    color: #ff4040;
    padding-right: 10px;
  }
}

.actionBtn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 83px;
  font-size: 17px;
  background: #fff;
  box-sizing: border-box;
  padding-top: 13px;
  display: flex;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    // left: 0;
    // right: 0;
    // border-top: 0.5px solid #dddddd;
    background: #dddddd;
    width: 100%;
    height: 1px;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  .btn {
    flex: 1;
    text-align: center;
    height: 25px;
    color: #222222;
    border-left: 1px solid #e3e3e3;
    &:nth-child(1) {
      border-left: none;
    }
    .btnIcon {
      width: 20px;
      height: 20px;
      vertical-align: text-bottom;
      margin-right: 8px;
      color: #484848;
    }
    .btnText {
      color: #222222;
    }
    :global {
      .am-icon {
        width: 20px;
        height: 20px;
        vertical-align: text-bottom;
        margin-right: 8px;
      }
    }
  }
}
